﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;

namespace WXWebSite.DapperConnect
{
    public class DapperConnect
    {
        public static IDbConnection GetConn()
        {
            string conStr = ConfigurationManager.ConnectionStrings["WxDatabase"].ToString();
            return new SqlConnection(conStr);
        }
    }
}